<include file="./Application/Admin/View/Public/htmlheader.html" />
<include file="./Application/Admin/View/Public/header.html" />
<include file="./Application/Admin/View/Public/left.html" />

<ol class="breadcrumb">
    <li><a href="__ROOT__/Admin/User/userList">用户列表</a></li>
    <li class="active">分配权限</li>
</ol>

<form action="/Admin/User/permissionSave" method="post">
    <input type="hidden" name="id" value="{$userInfo['id']}">
    <div class="row">
        <div class="col-lg-3 text-right">权限组：</div>
        <div class="col-lg-3">
            <select name="groupId" class="form-control">
                <volist name="groupList" id="vo">
                    <if condition="$vo.id eq $userInfo['groupId']">
                        <option value="{$vo.id}" selected>{$vo.name}</option>
                        <else />
                        <option value="{$vo.id}">{$vo.name}</option>
                    </if>
                </volist>
            </select>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3"></div>
        <div class="col-lg-3"><button type="submit" class="btn btn-primary">确定</button></div>
    </div>
</form>
<include file="./Application/Admin/View/Public/footer.html" />